package com.imarkket.sqlite.model;

import com.imarkket.Library.c_logging;

/**
 * Created by Sistemas on 04/06/2014.
 */
public class t_info_device {

    String Deviceid;
    String DeviceSoftwareVersion;
    String SimSerialNumber;
    String CreatedAt;

    // constructors
    public t_info_device() {
    }

    public t_info_device(String pDeviceid, String pDeviceSoftwareVersion, String pSimSerialNumber) {
        this.Deviceid = pDeviceid;
        this.DeviceSoftwareVersion = pDeviceSoftwareVersion;
        this.SimSerialNumber = pSimSerialNumber;

        android.text.format.DateFormat df = new android.text.format.DateFormat();
        df.format("dd-MM-yyyy hh:mm:ss", new java.util.Date());
        this.CreatedAt = df.toString();
        c_logging.getInstance().log(c_logging.LOG_INFO, "Created BD Class: " + this.CreatedAt);
    }

    // setters
    public void setDeviceid(String pDeviceid) {
        this.Deviceid = pDeviceid;
    }

    public void setDeviceSoftwareVersion(String pDeviceSoftwareVersion) {
        this.DeviceSoftwareVersion = pDeviceSoftwareVersion;
    }

    public void setSimSerialNumber(String pSimSerialNumber) {
        this.SimSerialNumber = pSimSerialNumber;
    }

    public void setCreatedAt(String pCreatedAt) {
        this.CreatedAt = pCreatedAt;
    }

    // getters
    public String getDeviceid() {
        return this.Deviceid;
    }

    public String getDeviceSoftwareVersion() {
        return this.DeviceSoftwareVersion;
    }

    public String setSimSerialNumber() {
        return this.SimSerialNumber;
    }

    public String setCreatedAt() {
        return this.CreatedAt;
    }
}